
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="renderer" content="webkit" />
  <title>南京智能开标大厅</title>
  <script>
    document.getElementsByTagName('html')[0].style.fontSize = document.documentElement.clientWidth
      / 12.8 + 'px';
  </script>

  <link rel="stylesheet" type="text/css" href="../css/common.css">
  <link rel="stylesheet" type="text/css" href="../css/optiscroll.css">
  <link rel="stylesheet" type="text/css" href="../css/surface.css">
  <link rel="stylesheet" type="text/css" href="../css/popUp.css">
  <link rel="stylesheet" type="text/css" href="../css/flatpickr.min.css">
  <script src="../../fui/js/cssboot.js"></script>
  <script type="text/javascript" src="/BidOpening/epointjs/base.js"></script>
  <script type="text/javascript" src="/BidOpening/fui/js/jsboot.js"></script>
  <script type="text/javascript"
          src="/BidOpening/bidopeninghall/hall/epointca/epointca.js"></script>
  <script type="text/javascript" src="../js/optiscroll.min.js"></script>
  <script type="text/javascript" src="../js/jquery-1.7.1.min.js"></script>
  <script type="text/javascript" src="../js/jquery.easing.1.3.js"></script>
  <script type="text/javascript" src="../js/jquery.nicescroll.min.js"></script>
  <script type="text/javascript" src="../js/jquery.optiscroll.min.js"></script>
  <script type="text/javascript" src="../js/three.min.js"></script>
  <script type="text/javascript" src="../js/Tween.js"></script>
  <script type="text/javascript" src="../js/MTLLoader.js"></script>
  <script type="text/javascript" src="../js/OBJLoader.js"></script>
  <script type="text/javascript" src="../js/Detector.js"></script>
  <script type="text/javascript" src="../js/Projector.js"></script>
  <script type="text/javascript" src="../js/loadImages.js"></script>
  <script type="text/javascript" src="../js/popUp.js"></script>
  <script type="text/javascript" src="../js/echarts.min.js"></script>
  <script type="text/javascript" src="../js/flatpickr.min.js"></script>
  <script type="text/javascript" src="../js/index.js"></script>
</head>
<style>
  .vtrRad{
    position: absolute;
    z-index : 20;
    top:0.65em;
  }
  .nj_cycle {
    width: 25px;
    height: 25px;
    background-color: #e3de1f;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
  }
</style>
<body style='overflow: -Scroll; overflow-y: hidden'>

<div id="popUpWrap"></div>
<nav class="nav">
  <div class="logo"></div>
  <h3>南京智能开标大厅</h3>
  <div class="search">
    <span class="searchBtn"></span> <input type="text" class="searchText"
                                           placeholder="请输入项目编号或名称!">
    <div class="cancleGZBtn" style="display: none;"></div>
    <div class="zzbBtn" style="display: none;"></div>
  </div>
  <div class="userInfo"></div>
  <div class="logoutBtn"></div>
  <div class="info"></div>

</nav>
<div class="helpInfoWrap">
  <div class="helpInfos">
    <!-- <span class="helpInfoClose"></span> -->
    <div class="helpInfoContent">
      <div>
        <img src="../images/tenderStatus01.png">
        <p>开标中</p>
      </div>
      <div>
        <img src="../images/tenderStatus02.png">
        <p>主持人未到场</p>
      </div>
      <div>
        <img src="../images/tenderStatus03.png">
        <p>暂停开标</p>
      </div>
      <div>
        <img src="../images/tenderStatus04.png">
        <p>开标结束</p>
      </div>
    </div>
  </div>
</div>
<div class="loginBox">
  <div class="loginWrap">
    <h3 class="">登 录</h3>
    <span class="close"></span>
    <div class="loginContainer">
      <div class="loginMethods">
        <span class="caLogin active loginMethod" aTag="caContainer">CA登录</span>
        / <span class="nameLogin loginMethod" aTag="nameContainer">用户名登录</span>
        / <span class="visitorLogin loginMethod" aTag="visitorContainer">游客</span>
        <span class="line"></span>
      </div>
      <div class="caContainer loginC">
        <span class="login"></span>
        <p class="feedbackInfo"></p>
      </div>
      <div class="nameContainer loginC">
        <div class="usernameContainer">
          <span class="userIcon"></span> <input type="text" class="username"
                                                placeholder="请输入用户名">
        </div>
        <div class="passwordContainer">
          <span class="passwordIcon"></span> <input type="password"
                                                    class="password" placeholder="请输入密码"> <span class="login"></span>
        </div>
        <p class="feedbackInfo"></p>
      </div>
      <div class="visitorContainer loginC">
        <span class="visitorInfo">您正在使用游客身份登录</span> <span class="login"></span>
        <p class="feedbackInfo"></p>
      </div>
    </div>
    <div class="optionContainer">
				<span class="option"><a
          href="http://221.226.86.154:8113/BidOpening/pages_dqnanjing/online_bidding_platform/html/帮助文档.rar">操作手册</a></span>
    </div>
  </div>
</div>
<div id="webGL">
  <div class="todayTips">
    <h3 class="hidden"></h3>
    <span class="todayClose hidden"></span>
    <div class="todayContent"></div>
  </div>
  <div class="confirmBtn"></div>
  <div class="cancelBtn"></div>
  <div class="lastPageBtn"></div>
  <div class="pageInfo">第 页/共 页</div>
  <div class="nextPageBtn"></div>
</div>
<div class="tipsWrap">
  <div class="tips">
    <h3>A001标段</h3>
    <span class="close"></span>
    <div class="content"></div>
  </div>
</div>

<div class="tendersWrap">
  <div class="tenders">
    <h3></h3>
    <span class="close"></span>
    <div class="content">
      <table class="one">
        <tr>
          <th class="column_one">序号</th>
          <th class="column_two">标段编号</th>
          <th class="column_three">项目名称</th>
          <th class="column_four">选择</th>
        </tr>
      </table>
    </div>
    <div class="tendersTip">
      友情提示：本项目为多标段开标，请按照招标文件开标顺序选择相对应的标段进行开标。</div>
  </div>
</div>
<!--签到用户信息弹窗-->
<!-- 	<div class="userInfoTipWrap"> -->
<!-- 		<div class="userInfoTip"> -->
<!-- 			<h3>联系方式</h3> -->
<!-- 			<span class="close"></span> -->
<!-- 			<div class="content"> -->
<!-- 				<div>请留下您的联系方式：</div> -->
<!-- 				<div> -->
<!-- 					<p>姓 名:</p> -->
<!-- 					<input type="text" placeholder="请输入姓名"  class="name"> -->
<!-- 				</div> -->
<!-- 				<div> -->
<!-- 					<p>电 话:</p> -->
<!-- 					<input type="text"  placeholder="请输入电话号码" class="phone"> -->
<!-- 				</div> -->
<!-- 				<div> -->
<!-- 					<p>项目经理:</p> -->
<!-- 					<input type="text" placeholder="请输入项目经理"  -->
<!-- 						class="proIdentity"> -->
<!-- 				</div> -->
<!-- 				<div class="confirmBtn"></div> -->
<!-- 			</div> -->
<!-- 		</div> -->
<!-- 	</div> -->
<div class="footer">
  <div class="leftBtn"></div>
  <div class="foot-con">
    南京市公共资源交易中心版权所有 <br> 本网页运行环境需为：浏览器版本为IE11，操作系统版本为win7及以上 <a
    href="http://www.miitbeian.gov.cn/publish/query/indexFirst.action"
    target="_bank"> 苏ICP备11074598号-1 </a> <a
    href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32010502010155"
    target="_bank"> <img src="../images/beian.png"> 苏公网安备
    32010502010155号
  </a>
  </div>
  <div class="rightBtn"></div>
</div>

<div class="arrowLeft"></div>
<div class="arrowRight"></div>

<div class="importantNotice" style="color: #cfa972;">
  <span class="importantNoticeClose"></span>
  <div class="title">重要通知</div>
  <div id="importantNoticeContent">
    <div>
      问题名称:<span id="questionname"></span>
    </div>
    <div style="width: 1000px;">
      具体内容: <span id="content"></span>
    </div>

    <div id="filedownload">
      附件: <a id="uploader" href="#">下载</a>

    </div>
  </div>
</div>

<div class="todayDataStatistics">
  <span class="todayDataStatisticsClose"></span>
  <div class="title"></div>
  <div class="todayContainer" id="todayContainer"></div>
  <div class="classes">
    <div class="classData">
      <div id="goods"></div>
      <p>货物</p>
      <p>
        今日开标总数：<span class="num goodsNum">100</span>
      </p>
    </div>
    <div class="classData">
      <div id="supervisor"></div>
      <p>监理</p>
      <p>
        今日开标总数：<span class="num supervisorNum">200</span>
      </p>
    </div>
    <div class="classData">
      <div id="construction"></div>
      <p>施工</p>
      <p>
        今日开标总数：<span class="num constructionNum">100</span>
      </p>
    </div>
    <div class="classData">
      <div id="waterConservancy"></div>
      <p>水利</p>
      <p>
        今日开标总数：<span class="num waterConservancyNum">200</span>
      </p>
    </div>
    <div class="classData" style="margin-top:3rem;">
      <div id="caigouData"></div>
      <p>采购</p>
      <p>
        今日开标总数：<span class="num caigouDataNum">200</span>
      </p>
    </div>
  </div>
</div>

<div class="historyDataStatistics">
  <span class="historyDataStatisticsClose"></span>
  <div class="title"></div>
  <div class="historyDataSearch">
    <input id="flatpickr-pre" placeholder="起始日期"> <span>至</span>
    <input id="flatpickr-now" placeholder="截止日期">
    <div class="searchBtn"></div>
  </div>
  <div class="historyDataContainer" id="historyDataContainer">
    <table>
      <tbody>
      <tr>
        <th></th>
        <th></th>
      </tr>
      <tr>
        <td>开标总数</td>
        <td class="totalNum">0</td>
      </tr>
      <tr>
        <td>货物开标数</td>
        <td class="goodsNum">0</td>
      </tr>
      <tr>
        <td>监理开标数</td>
        <td class="supervisorNum">0</td>
      </tr>
      <tr>
        <td>施工开标数</td>
        <td class="constructionNum">0</td>
      </tr>
      <tr>
        <td>水利开标数</td>
        <td class="waterConservancyNum">0</td>
      </tr>
      <tr>
        <td>采购开标数</td>
        <td class="caigoukaibiaoNum">0</td>
      </tr>
      </tbody>

    </table>
  </div>
  <div class="historyDataContainer" id="historyDataContainer2">
    <table>
      <tbody>
      <tr>
        <th></th>
        <th></th>
      </tr>
      <tr>
        <td>不见面在线监管数</td>
        <td class="gznum">0</td>
      </tr>
      <tr>
        <td>现场监管数</td>
        <td class="othergznum">0</td>
      </tr>
      </tbody>

    </table>
  </div>
</div>
<div class="identitySelectionWrap" style="display: none;">
  <div class="title"></div>
  <span class="identitySelectionClose"></span>
  <div class="queryItem queryModerator">
    <label for="queryModerator">姓名：</label> <input id="queryModerator"
                                                   placeholder="请输入姓名查询">
  </div>
  <div class="queryBtn"></div>
  <div class="table">
    <table class="one">
      <tr>
        <th class="column_one">序号</th>
        <th class="column_two">姓名</th>
        <th class="column_three">身份证号</th>
        <th class="column_four">性别</th>
        <th class="column_five"></th>
      </tr>
    </table>
    <div class="tableContainer">
      <table class="two">
      </table>
    </div>
  </div>
  <div class="bottom">
    <span class="btn pre"></span> <span class="btn next active"></span>
    <div class="pageWrap">
      <span class="pageNum">1</span> <span class="arrow"></span>
      <ul class="pages">
      </ul>
    </div>
  </div>
</div>
<!--签到用户信息弹窗-->
<div class="userInfoTipWrap">
  <div class="userInfoTip">
    <h3>联系方式</h3>
    <span class="close"></span>
    <div class="content">
      <div>请留下您的联系方式：</div>
      <div>
        <p>姓 名:</p>
        <input type="text" placeholder="请输入姓名" maxlength="5"  value="" class="name">
      </div>
      <div>
        <p>电 话:</p>
        <input type="text" placeholder="请输入电话号码" value="" maxlength="15" oninput="value=value.replace(/[^\d]/g,'')" class="phone">
      </div>
      <div>
        <p>项目负责人:</p>
        <input type="text" maxlength="5" placeholder="请输入项目负责人" value=""
               class="proIdentity">
      </div>
      <div class="confirmBtn"></div>
    </div>
  </div>
</div>

<!--非中介库选取招标代理弹框-->
<div class="zcrInfoTipWrap">
  <div class="zcrInfoTip">
    <h3>主持人信息</h3>
    <span class="close"></span>
    <div class="content">
      <div>请完善您的信息：</div>
      <div>
        <p>姓 名:</p>
        <input type="text" placeholder="请输入姓名" maxlength="5"  value="" class="zcrName">
      </div>
      <div>
        <p>身份证:</p>
        <input type="text" placeholder="请输入身份证" value="" maxlength="18" oninput="value=value.replace(/[^\d | ^X ]/g,'')" class="zcrID">
      </div>
      <div>
        <p>联系电话:</p>
        <input type="text" placeholder="请输入联系电话" value="" maxlength="15" oninput="value=value.replace(/[^\d]/g,'')" class="phone">
      </div>
      <div id="gzrdiv" class="hidden">
        <p>是否有公证员:</p>
        <label class="divLabel"><input type="radio" name="isNeedGZ" value="1" style="width:40px;left:230px">有</label>
        <label class="divLabel2"><input type="radio" name="isNeedGZ" value="0" style="width:40px;left:340px">无</label>
      </div>
      <div class="confirmBtn"></div>
    </div>
  </div>
</div>


<!--是否选择虚拟主持人-->
<div class="zcrVirtualInfoTipWrap">
  <div class="zcrVirtualInfoTip">
    <div style="display:none;" id="vuroom"></div>
    <h3>选择虚拟主持人</h3>
    <span class="close"></span>
    <div class="content">
      <div>请完善您的信息：</div>

      <div>
        <p>是否选择虚拟主持人:</p>
        <label class="divLabel"><input type="radio" id="isNeedVirtualZcr1" name="isNeedVirtualZcr" value="1" style="width:40px;left:230px" checked="checked">是</label>
        <label class="divLabel2"><input type="radio" id="isNeedVirtualZcr2" name="isNeedVirtualZcr" value="0" style="width:40px;left:340px">否</label>
      </div>
      <div class="confirmBtn"></div>
    </div>
  </div>
</div>
</div>


<!--选择虚拟主持人-->
<div class="zcrVirtualInfoTipWrapInfo">
  <div class="zcrVirtualInfoTipInfo">
    <h3>填写虚拟主持人相关信息</h3>
    <span class="close"></span>
    <div class="content">
      <div>请选择虚拟主持人：</div>
      <div>
        <label class="divLabel"><input type="radio" id="VirtualZCRName1" name="VirtualZCRName"  class="vrradio"  value="2" style="width:40px;left:20px"><div class="vtrRad" style="left: 27px;"></div><label class="vradio1"  for="VirtualZCRName1"></label>宁小捷</label>
        <img src="../images/ningxiaojie.png"  style="width: 120px; margin-left: 20px; display: inline;border-style: solid;border-color:#fff;" alt="宁小捷" />

        <label class="divLabel2"><input type="radio" id="VirtualZCRName2" name="VirtualZCRName"  class="vrradio"   value="1" style="width:40px;left:440px"><div class="vtrRad" style="left: 448px;"></div>宁小易</label>
        <img src="../images/ningxiaoyi.png"  style="width: 120px; margin-left: 40px; display: inline;border-style: solid;border-color:#fff;"  alt="宁小易" />
      </div>
      <div class="confirmBtn"></span></div>
    </div>
  </div>
</div>
</div>

<!--提示语信息-->
<div class="tipInfoTipWrap">
  <div class="tipInfoTip">
    <h3>提示</h3>
    <span class="close"></span>
    <div class="content">
      <div>1.本次开标过程，南京市公共资源交易中心将全程录像，录像内容将作为代理机构日常考核管理的重要依据。</div>
      <div>2.为保证视频录制效果，主持人在主持开标活动中请勿喧哗，不讲与开标会无关的言论，并需把电脑音量调至最大，方便音频采集。</div>
      <div>3.进入南京智能开标大厅后，经办人不得使用开标直播的电脑打开其它任何软件、网页、文件等，确保开标全过程直播画面完整流畅。</div>
      <div>4.开标过程全部结束前，经办人不得中途离开或提前关闭开标大厅。</div>
      <div class="confirmBtn" disabled="disabled"><span class="coolDown"></div>
    </div>
  </div>
</div>


<div style="display: none">
  <div class="uc-epointca" id="epointca1"
       action="njpingbiaobiaoduanlistaction.epointcaValue"
       data-options="{catype:2}"></div>
</div>

<div class="hidden">
  <object id="DigitalSignOCX" height="100" width="110px"
          classid="clsid:5E15EC85-8A67-4420-A8BC-4E0D0FEF58AA"
          style="cursor: wait;" name="DigitalSign"
          codebase="../CAB/DigitalSign.cab">
    <param name="_Version" value="1.0.0.2" />
  </object>
</div>
<div class="hidden">
  <object id="DeCryptOCX" height="100" width="110px"
          classid="clsid:701E42AC-2274-4703-8CE4-68D74C61315C"
          style="cursor: wait;" name="DeCrypt" codebase="../CAB/DeCryptAx.cab">
    <param name="_Version" value="1.0.0.1" />
  </object>
</div>

<script src="../js/IndexWebsocket.js"></script>
<script src="../js/index_webGL.js"></script>
<script>
  var IndexWebSocket;
  var userType;

  epoint.initPage('njpingbiaobiaoduanlistaction', null, function(data) {
    initPage();
    userType = data.userType;
// 			IndexWebSocket = new IndexWebSocket(getUUID(), "",
// 			"/BidOpening/websocket/nanjing/index");
    if (data.isValidate) {
      window.userguid=data.userguid;
      loginsuccess(data.displayName, data.userType);
    }
    // 选择主持人
    $('.zcrVirtualInfoTipWrapInfo').hide();
    $('.zcrVirtualInfoTipWrapInfo .close').on('click', function() {
      $('.zcrVirtualInfoTipWrapInfo').hide();
    });
    // 是否选择虚拟主持人
    $('.zcrVirtualInfoTipWrap').hide();

    $('.zcrVirtualInfoTipWrap .close').on('click', function() {
      $('.zcrVirtualInfoTipWrap').hide();
    });


    // 是否选择虚拟主持人
    $('.zcrVirtualInfoTipWrap .confirmBtn').on('click', function() {
      // 增加是否有公证人员
      var isNeedVirtualZcr = $("input[name='isNeedVirtualZcr']:checked").val() || '';
      if(isNeedVirtualZcr == ''){
        myPopUp.alert($('#popUpWrap'), {
          'title' : '提示',
          'content' : '请选择虚拟主持人!'
        });
        return;
      }
      var vuroom= $('#vuroom').html();

      epoint.execute('njpingbiaobiaoduanlistaction.selectNeedVirtualZCR', null, [vuroom ,isNeedVirtualZcr], function(ret) {
        if ('1' == ret) {
          $('.zcrInfoTipWrap').hide();
          myPopUp.alert($('#popUpWrap'), {
            'title' : '提示',
            'content' : '选择成功!'
          }, function() {

            if(isNeedVirtualZcr == '1'){
              epoint.execute('njpingbiaobiaoduanlistaction.getBiaoDuanGuid', null, [ vuroom ], function(ret) {

                $('.zcrVirtualInfoTipWrap').hide();

                var url = 'WebOffice?fileCode=agreement&biaoduanguid='+ret

                layer.open({
                  type: 2,
                  title : '',
                  shadeClose: true,
                  shade: 0.8,
                  area: ['1200px', '90%'],
                  content: url
                })
              });
            }else{
              enterBiaoduan(vuroom);
            }

          });
        } else {
          myPopUp.alert($('#popUpWrap'), {
            'title' : '提示',
            'content' : '选择失败!'
          }, function() {

          });
        }
      });
    });

    var fls = flashChecker();
    if (fls.f) {
      for (var i = 0, len = navigator.plugins.length; i < len; i++) {
        var plugin = navigator.plugins[i];
        if (plugin.name == 'Shockwave Flash') {
          if (plugin.filename == 'internal-not-yet-present') {
            myPopUp.alert4flash($('#popUpWrap'), {
              'title' : '提示',
              'content' : "您当前浏览器flash插件版本较低，可能无法使用系统中视频播放功能,现在去升级？"
            }, function() {
              window.open('./file/flashplayerax_install_cn_win8.exe');
            });
          }
          break;
        }
      }
    }
    else {
      myPopUp.alert4flash($('#popUpWrap'), {
        'title' : '提示',
        'content' : "您没有安装最新flash,可能会影响视频功能使用!"
      }, function() {
        window.open('./file/flashplayerax_install_cn_win8.exe');
      });
    }
  });

  function initPage() {
    epoint.execute('njpingbiaobiaoduanlistaction.init', null, null,
      function(ret) {
        //今日开标项目，我的开标项目，历史开标项目的菜单列表数据
        var s = mini.decode(ret);
        dataArr = s;

        dataArr.importantNotice={
          'hasBtn': false,
          'hasLogo': false,
          'data': [
            {
              'project': '重要通知',
              'status': 21,
              'projectID': 'impNot'
            },
            {
              'project': '常见问题解答',
              'status': 22,
              'projectID': 'queAns'
            }
          ]
        };
        if('M'==userType||'K'==userType){
          dataArr.dataStatistics={
            'hasBtn':false,
            'hasLogo':true,
            'data':[
              {
                'project':'今日开标统计',
                'status':11,
                'projectID':'todayData'
              },
              {
                'project':'历史开标统计',
                'status':12,
                'projectID':'historyData'
              },
// 						            {
// 						                'project':'标段详细信息',
// 						                'status':13,
// 						                'projectID':'detailData'
// 						            } ,
              {
                'project':'开标情况统计',
                'status':13,
                'projectID':'biddingData'
              },
              {
                'project':'交易规模统计',
                'status':14,
                'projectID':'transactionData'
              },
              {
                'project':'流量统计',
                'status':15,
                'projectID':'trafficData'
              }
              /* ,{
                              'project':'主持人评分查询',
                              'status':16,
                              'projectID':'moderatorScoreQuery'
                          },
                          {
                              'project':'标段评分查询',
                              'status':17,
                              'projectID':'bidGradingQuery'
                          },
                          {
                              'project':'主持人排名',
                              'status':18,
                              'projectID':'hostRanking'
                          }	 */
            ]
          };
          dataArr.dataStatistics2={
            'hasBtn':false,
            'hasLogo':true,
            'data':[
              {
                'project':'今日开标统计',
                'status':11,
                'projectID':'todayData'
              },
              {
                'project':'历史开标统计',
                'status':12,
                'projectID':'historyData'
              },
// 						            {
// 						                'project':'标段详细信息',
// 						                'status':13,
// 						                'projectID':'detailData'
// 						            } ,
              {
                'project':'开标情况统计',
                'status':13,
                'projectID':'biddingData'
              },
              {
                'project':'交易规模统计',
                'status':14,
                'projectID':'transactionData'
              },
              {
                'project':'流量统计',
                'status':15,
                'projectID':'trafficData'
              }
              /* ,{
                              'project':'主持人评分查询',
                              'status':16,
                              'projectID':'moderatorScoreQuery'
                          },
                          {
                              'project':'标段评分查询',
                              'status':17,
                              'projectID':'bidGradingQuery'
                          },
                          {
                              'project':'主持人排名',
                              'status':18,
                              'projectID':'hostRanking'
                          }	 */
            ]
          };
        }else{
          dataArr.dataStatistics={
            'hasBtn':false,
            'hasLogo':true,
            'data':[
              {
                'project':'今日开标统计',
                'status':11,
                'projectID':'todayData'
              },
              {
                'project':'历史开标统计',
                'status':12,
                'projectID':'historyData'
              }
              /* ,{
                                'project':'主持人排名',
                                'status':18,
                                'projectID':'hostRanking'
                            } */
            ]
          };
          dataArr.dataStatistics2={
            'hasBtn':false,
            'hasLogo':true,
            'data':[
              {
                'project':'今日开标统计',
                'status':11,
                'projectID':'todayData'
              },
              {
                'project':'历史开标统计',
                'status':12,
                'projectID':'historyData'
              }
              /* ,{
                                'project':'主持人排名',
                                'status':18,
                                'projectID':'hostRanking'
                            } */
            ]
          };
          dataArr.dataStatistics3={
            'hasBtn':false,
            'hasLogo':true,
            'data':[
              {
                'project':'今日开标统计',
                'status':11,
                'projectID':'todayData'
              },
              {
                'project':'历史开标统计',
                'status':12,
                'projectID':'historyData'
              }
              /* ,{
                                'project':'主持人排名',
                                'status':18,
                                'projectID':'hostRanking'
                            } */
            ]
          };
        }
        init(dataArr.liulancount);
        animate();
      });
  }

  function loginsuccess(displayName, userType) {
    // var identity=0; //0代表投标人员
    // 投标人在我的开标页面会有两个按钮（签到和解密），点击按钮弹出对应项目的对应标段的弹窗，进行签到和解密操作
    // var identity=1; //1代表招标人员 招标人在我的开标页面只有两个按钮（解密），点击按钮弹出对应项目的对应标段的弹窗，进行解密操作
    // var identity=2; //2代表交易中心 交易中心 工作人员身份，今日开标页面会有选框，方便将今天开标项目加入到我的开标项目中去
    // var identity=3; //3代表监管 监管身份，今日开标页面会有选框，方便将今天开标项目加入到我的开标项目中去
    // var identity=4; //4代表公证人员 公证人员身份，今日开标页面会有选框，方便将今天开标项目加入到我的开标项目中去
    switch (userType) {
      case 'TB':
        identity = 0;
        break;

      case 'K':
        identity = 1;
        break;

      case 'M':
      case 'J':
      case 'GZ':
        identity = 2;
        break;

      case '':
        identity = 3;
        break;

      case '':
        identity = 4;
        break;
    }
    setTimeout(function() {
      $('.loginBox').hide();
      $('.loginBtn').hide();
      $('.logoutBtn').show();
      $('.userInfo').text(displayName).show();
      $('.userInfo').attr("title", displayName);
    }, 1000);
  }

  function updateStatus(kaibiaoaddress, status,biaoDuanGuid) {
    //console.log(menus[screens[0].name]);
    //找到项目中的对应的kaibiaoaddress根据状态status改变对于的图标
    for (var i = 0; i < screens.length; i++) {
      //数组
      var project = menus[screens[i].name].children;
      for ( var i in project) {
        var obj = project[i];
        if (obj.room == kaibiaoaddress && obj.biaoDuanGuid==biaoDuanGuid) {//新增判断房间展示标段与消息所属标段是否对应 by Liuning 2018-04-27
          project[i].getObjectByName('menuBtn').material = new THREE.MeshPhongMaterial(
            {
              map : tenderStatusTexture['status0'
              + status],
              transparent : true,
              alphaTest : 0.5
            });
          return;
        }
      }
    }
  }
  function updatejiemiStatus(kaibiaoaddress, isjiemi, usertype) {
    if (isjiemi == '1') {
      var project = menus['myProject'].children;
      var project2 = menus['myProject'].children;
      for ( var i in project) {
        var obj = project[i];
        if (userType == usertype) {
          if (obj.room == kaibiaoaddress) {
            project[i].getObjectByName('decryptBtn').material = new THREE.MeshPhongMaterial(
              {
                map : chooseStatusTexture['hasdecryptBtn'],
                transparent : true,
                alphaTest : 0.5
              });
          }
        }
      }
      for ( var i in project2) {
        var obj = project2[i];
        if (userType == usertype) {
          if (obj.room == kaibiaoaddress) {
            project2[i].getObjectByName('decryptBtn').material = new THREE.MeshPhongMaterial(
              {
                map : chooseStatusTexture['hasdecryptBtn'],
                transparent : true,
                alphaTest : 0.5
              });
          }
        }
      }
    }
  }

  function updateqiandaostatus(kaibiaoaddress, isqiandao) {
    if (isqiandao == '1') {
      var project = menus['myProject'].children;
      var project2 = menus['myProject2'].children;
      for ( var i in project) {
        var obj = project[i];
        if (obj.room == kaibiaoaddress) {
          project[i].getObjectByName('signBtn').material = new THREE.MeshPhongMaterial(
            {
              map : chooseStatusTexture['hassignbtn'],
              transparent : true,
              alphaTest : 0.5
            });
        }
      }
      for ( var i in project2) {
        var obj = project2[i];
        if (obj.room == kaibiaoaddress) {
          project2[i].getObjectByName('signBtn').material = new THREE.MeshPhongMaterial(
            {
              map : chooseStatusTexture['hassignbtn'],
              transparent : true,
              alphaTest : 0.5
            });
        }
      }
    }
  }

  function getUUID() {
    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,
      function(c) {
        var r = Math.random() * 16 | 0, v = c == 'x' ? r
          : (r & 0x3 | 0x8);
        return v.toString(16);
      });
  }


  function flashChecker() {
    var hasFlash = 0;　　　　 //是否安装了flash
    var flashVersion = 0;　　 //flash版本
    if (document.all) {
      var swf = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');
      if (swf) {
        hasFlash = 1;
        VSwf = swf.GetVariable("$version");
        flashVersion = parseInt(VSwf.split(" ")[1].split(",")[0]);
      }

    } else {
      if (navigator.plugins && navigator.plugins.length > 0) {
        var swf = navigator.plugins["Shockwave Flash"];
        if (swf) {
          hasFlash = 1;
          var words = swf.description.split(" ");
          for (var i = 0; i < words.length; ++i) {
            if (isNaN(parseInt(words[i]))) continue;
            flashVersion = parseInt(words[i]);
          }
        }
      }
    }
    return {
      f: hasFlash,
      v: flashVersion
    };
  }

  $("input[name=VirtualZCRName]").click(function(){
    $(".vtrRad").removeClass("nj_cycle");
    $(this).next().addClass("nj_cycle");
  });

</script>
</body>
</html>
